#ifndef __END_SCENE_H__
#define __END_SCENE_H__

#include "cocos2d.h"
#include "ui/CocosGUI.h"
#include "SimpleAudioEngine.h"

class EndScene : public cocos2d::Layer
{

public:
    ~EndScene();
	static cocos2d::Scene* createScene();
	virtual bool init();
	virtual void update(float dt);
	virtual void BacktouchEvent(cocos2d::Object *pSender, cocos2d::ui::TouchEventType type);
	CREATE_FUNC(EndScene);
	void initScor();
	
	cocos2d::Sprite *scor[5];    //分数精灵
	int score;  //保存分数

};

#endif